@echo off
chcp 65001 >nul
set CONFIG_DIR=%~dp0config
echo Starting NettyTcpServer with external config files...
echo Using config directory: %CONFIG_DIR%
java -Dfile.encoding=UTF-8 -Dspring.config.location="file:%CONFIG_DIR%/application.yml" -Dlogging.config="file:%CONFIG_DIR%/logback-spring.xml" -jar target/NettyTcpServer.jar
pause